home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / ELECTRON / H035A.ZIP / INSTALL.DAT < prev    next >
Text File  |  1991-09-06  |  5KB  |  184 lines

  1. /*
  2.  * INSTALL.DAT
  3.  *
  4.  * Project: PSpice DOS Evaluation
  5.  *
  6.  */
  7.  
  8. /*
  9.  * Project Definitions
  10.  */
  11.  
  12. @DefineProject
  13.     @Name = "IBM-PC PSpice Evaluation"
  14.     @Version = "5.0a"
  15.     @Subdir = "\\PSEVAL50"
  16.     @OutDrive = C
  17.     @InDiskBell = 1
  18.     @Requires @HardDisk
  19. @EndProject
  20.  
  21. /*
  22.  * Begin Install
  23.  */
  24.  
  25. @Display
  26.  
  27.     This program will install the @Name version @Version
  28.     program files on your computer system's hard disk and verify the
  29.     integrity of the distribution disks.  You may press the [Esc] key
  30.     at any time to abort the installation.
  31.  
  32.     INSTALL will ask you several questions during the installation.
  33.     Each question has a default answer.  If the default answer is
  34.     correct, press the ENTER key in response to the question.
  35.     Otherwise, type the answer and then press the ENTER key.
  36.     If you make a mistake while typing, press the BACKSPACE key
  37.     and then retype the answer.
  38.  
  39.     @Pause
  40. @EndDisplay
  41.  
  42. /*
  43.  * System check
  44.  */
  45.  
  46. @Display
  47.  
  48. SYSTEM CHECKS
  49.  
  50. @If (@CPU < 286)
  51.      WARNING:  @CPU processor found (@Name requires a
  52.                286, 386, or 486 processor.  While the program may run on
  53.                an XT class processor, it is not supported.)
  54. @Else
  55.      @CPU processor found:  OK
  56. @EndIf
  57. @If (((@OSMajor * 100) + @OSMinor) < 300)
  58.      ERROR:  DOS @OSMajor.@OSMinor found (@Name requires DOS 3.0
  59.              or greater)
  60.  
  61.      @Pause
  62.      @Abort
  63. @Else
  64.      DOS @OSMajor.@OSMinor found: OK
  65. @EndIf
  66. @If (@RAMTotal < 620k)
  67.      WARNING:  Less than 640K of installed conventional memory has
  68.                been detected on your system.  A full 640K is
  69.                recommended to run larger circuits.
  70. @EndIf
  71. @If (@RAMAvail < 500k)
  72.      WARNING:  Less than 500K of available conventional memory has
  73.                been detected on your system.  Significantly more than
  74.                500K must be available to run PSpice.
  75.  
  76. @Endif
  77. @Pause
  78. @EndDisplay
  79.  
  80. @GetOutDrive
  81.     @Suppress A     /* Don't allow disk drive A */
  82.     @Suppress B     /* Don't allow disk drive B */
  83.   
  84.     @LocalWindow(12,53)
  85.     @Cls
  86.  
  87.     On which disk drive do you wish to install the PSpice program files?
  88.  
  89.     Use the [Up Arrow], [Down Arrow],
  90.     [Pg Up], & [Pg Dn] keys to move the
  91.     bar to select the drive and then press
  92.     the [Enter] key.
  93.  
  94. @EndOutDrive
  95.  
  96. @GetSubdir
  97.  
  98.     Now you need to specify the disk destination subdirectory for
  99.     the PSpice program files.
  100.     @Prompt = " What program files subdirectory ? "
  101. @EndSubdir
  102.  
  103. /*
  104.  * Setup Autoexec.bat and Config.sys files
  105.  */
  106.  
  107. @SetAutoexec
  108.     @AskOverwrite
  109.     @Path = "@OutDrive:\\@Subdir"
  110.     @SetReplace("PSpiceLib", "@OutDrive:@Subdir" )
  111. @EndAutoexec
  112.  
  113. @SetConfig
  114.     @AskOverwrite
  115.     @Buffers=20
  116.     @Files=20
  117. @EndConfig
  118.  
  119. /*
  120.  * Distribution Disk Structure of Files
  121.  */
  122.  
  123. @DefineDisk
  124.     @Label = "Diskette 1 of 2"
  125.     @BeginLib PSEVAL50.001
  126.         @F CONFIG.SYS @S 22 @O CONFIG.SYS
  127.         @F EVAL.CIR @S 8202 @O EVAL.CIR
  128.         @F EVAL.IND @S 4113 @O EVAL.IND
  129.         @F EVAL.LIB @S 52515 @O EVAL.LIB
  130.         @F EVAL.OUT @S 54805 @O EVAL.OUT
  131.         @F EVALOSC.CIR @S 843 @O EVALOSC.CIR
  132.         @F EVALOSC.OUT @S 24072 @O EVALOSC.OUT
  133.         @F EVALPWRS.CIR @S 2050 @O EVALPWRS.CIR
  134.         @F EVALPWRS.OUT @S 4596 @O EVALPWRS.OUT
  135.         @F PARTS.EXE @S 410688 @O PARTS.EXE
  136.         @F PARTS.HLP @S 33583 @O PARTS.HLP
  137.         @F PARTS.MSG @S 8762 @O PARTS.MSG
  138.         @F PROBE.EXE @S 666016 @O PROBE.EXE
  139.         @F PROBE.MSG @S 30854 @O PROBE.MSG
  140.         @F PS.EXE @S 17136 @O PS.EXE
  141.         @F PSHELL.EXE @S 636896 @O PSHELL.EXE
  142.     @EndLib
  143. @EndDisk
  144.  
  145. @DefineDisk
  146.     @Label = "Diskette 2 of 2"
  147.     @BeginLib PSEVAL50.002
  148.         @F PSHELL.EXE @S 636896 @A PSHELL.EXE
  149.         @F PSPICE.BAT @S 115 @O PSPICE.BAT
  150.         @F PSPICE.HLP @S 34392 @O PSPICE.HLP
  151.         @F PSPICE.NDX @S 2362 @O PSPICE.NDX
  152.         @F PSPICE1.EXE @S 806128 @O PSPICE1.EXE
  153.         @F README.DOC @S 8780 @O README.DOC
  154.         @F SETUPDEV.EXE @S 27519 @O SETUPDEV.EXE
  155.         @F STMED.EXE @S 598736 @O STMED.EXE
  156.         @F STMED.HLP @S 6756 @O STMED.HLP
  157.         @F STMED.MSG @S 8762 @O STMED.MSG
  158.     @EndLib
  159. @EndDisk
  160.  
  161. @Finish
  162.      @ChDrive @OutDrive
  163.      @ChDir "@Subdir"
  164.  
  165.      The installation of the PSpice program files is finished.  You
  166.      should now do the following:
  167.  
  168.      1.  Take the time to read the information in the README.DOC
  169.          file contained with this distribution.  You will find
  170.          there the latest information about PSpice that may not
  171.          have made it into the User's Guide.
  172.  
  173.      2.  Run the program SETUPDEV.  This will allow you to specify
  174.          the type of display and hard copy device attached to your
  175.          computer system.
  176.  
  177.      3.  Finally, reboot your system to insure the proper operation
  178.          of this software.
  179.  
  180.      @Pause
  181.  
  182. @EndFinish
  183.  
  184. /* end-of-file */